﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPRemoteService.WinApp
{
    public class ListViewObject
    {
        public enum ObjectType
        {
            File,
            Folder
        }
        public Uri SiteUrl { get; set; }
        public string Name { get; set; }
        public string ID { get; set; }
        public string Path { get; set; }
        public ObjectType Type { get; set; }

        public ListViewObject(Uri siteUrl, string name, string id, string path, ObjectType type)
        {
            this.SiteUrl = siteUrl;
            this.Name = name;
            this.ID = id;
            this.Path = path;
            this.Type = type;
        }
    }
}
